package com.settlement.system.controller;

import com.settlement.system.model.entity.common.TblWpStoreConfig;
import com.settlement.system.service.IBaseService;
import com.settlement.system.service.ITblWpStoreConfigService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import jakarta.annotation.Resource;

/**
 * WP-仓库配置 前端控制器
 * @author xiaochuan
 * @since 2020-11-18
 */

@Api(tags = "WP-仓库配置",description = "WP-仓库配置")
@RestController
@RequestMapping("/wp/store/config")
public class TblWpStoreConfigController extends ExcelController<TblWpStoreConfig> {

    @Resource
    private ITblWpStoreConfigService tblWpStoreConfigService;

    @Override
    public Class<?> getModelClass() {
        return TblWpStoreConfig.class;
    }

    @Override
    public IBaseService init() {
        return tblWpStoreConfigService;
    }

}

